import { Column, Entity, PrimaryColumn } from 'typeorm';

@Entity({ name: 'app_list' })
export class AppListEntity{
    @PrimaryColumn('varchar', { name: 'app_id', charset: 'utf8mb4', collation: 'utf8mb4_general_ci' })
    appId: string;

    @Column({ name: 'app_secret', charset: 'utf8mb4', collation: 'utf8mb4_general_ci' })
    appSecret: string;

    @Column({ name: 'remark', charset: 'utf8mb4', collation: 'utf8mb4_general_ci' })
    remark: string;

    @Column({ name: 'create_date', charset: 'utf8mb4', collation: 'utf8mb4_general_ci' })
    createDate: string;

    @Column('int', { name: 'status' })
    status: number;


}
